package com.book.analyer;

import com.book.Config;
import com.book.HibernateManager;
import com.book.PageDetailAnalye;

import java.net.URL;
import java.util.concurrent.ArrayBlockingQueue;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

public class DefaultPageDetailAnalyer implements PageDetailAnalye {
    private static final ThreadPoolExecutor excutor=new ThreadPoolExecutor(5, 10, 200, TimeUnit.MILLISECONDS,
            new ArrayBlockingQueue<Runnable>(5));

    @Override
    public void init(Config config, HibernateManager hibernateManager) {

    }

    public int  crawer(URL url){


         return 0;
    }
}
